home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 November / Chip_2003-11_cd1.bin / software / freerip / freeripmp3.exe / {app} / s4Setp.exe / PART / MYBAR.DLL / HTML / 101 next >
Text File  |  2003-07-15  |  10KB  |  235 lines

  1. <HTML style="font-family:MS Shell Dlg;font-size:8pt;">
  2. <HEAD>
  3. <TITLE>Uninstall SearchBar</TITLE>
  4.  
  5. <HTA:APPLICATION ID="MyWayBarUninstaller" 
  6.     APPLICATIONNAME="Uninstall SearchBar" 
  7.     BORDER=thin
  8.     CAPTION=yes
  9.     CONTEXTMENU=no
  10.     INNERBORDER=no
  11.     MAXIMIZEBUTTON=no
  12.     MINIMIZEBUTTON=yes
  13.     SELECTION=no
  14.     SHOWINTASKBAR=yes
  15.     SINGLEINSTANCE=yes
  16.     SYSMENU=yes
  17.     WINDOWSTATE=maximize>
  18.  
  19. <script language="javascript">
  20. function HandleKeyPress() {
  21.     var ee = window.event;
  22.     switch (ee.keyCode) {
  23.     case 27 :
  24.         ee.returnValue = false;
  25.         Cancel();
  26.         break;
  27.     case 13 :
  28.         ee.returnValue = false;
  29.         Cancel();
  30.         break;
  31.     }
  32. }
  33.  
  34. function Cancel() {
  35.     document.all.theControl.O("", "", "", "");
  36. }
  37.  
  38. function Uninstall() {
  39.     var regPaths =    'HKCR,"CLSID\\{0494D0D2-F8E0-41ad-92A3-14154ECE70AC}"\n' +
  40.             'HKCR,"CLSID\\{0494D0D1-F8E0-41ad-92A3-14154ECE70AC}"\n' +
  41.             'HKLM,"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Browser Helper Objects\\{0494D0D1-F8E0-41ad-92A3-14154ECE70AC}"\n' +
  42.             'HKCR,"CLSID\\{0494D0D9-F8E0-41ad-92A3-14154ECE70AC}"\n' +
  43.             'HKCR,"CLSID\\{0494D0D3-F8E0-41ad-92A3-14154ECE70AC}"\n' +
  44.             'HKLM,"SOFTWARE\\Microsoft\\Internet Explorer\\Toolbar","{0494D0D9-F8E0-41ad-92A3-14154ECE70AC}"\n' +
  45.             'HKCU,"Software\\Microsoft\\Internet Explorer\\Toolbar\\ShellBrowser","{0494D0D9-F8E0-41ad-92A3-14154ECE70AC}"\n' +
  46.             'HKCU,"Software\\Microsoft\\Internet Explorer\\Toolbar\\ShellBrowser","ITBarLayout"\n' +
  47.             'HKCU,"Software\\Microsoft\\Internet Explorer\\Toolbar\\WebBrowser","{0494D0D9-F8E0-41ad-92A3-14154ECE70AC}"\n' +
  48.             'HKCU,"Software\\Microsoft\\Internet Explorer\\Toolbar\\WebBrowser","ITBarLayout"\n' +
  49.             'HKCR,"MyWayToolBar.NetscapeStartup.1"\n' +
  50.             'HKCR,"MyWayToolBar.NetscapeStartup"\n' +
  51.             'HKCR,"CLSID\\{0494D0D7-F8E0-41ad-92A3-14154ECE70AC}"\n' +
  52.             'HKCU,"Software\\Netscape\\Netscape Navigator\\Automation Startup","MyWayToolBar.NetscapeStartup.1"\n' +
  53.             'HKCR,"MyWayToolBar.NetscapeShutdown.1"\n' +
  54.             'HKCR,"MyWayToolBar.NetscapeShutdown"\n' +
  55.             'HKCR,"CLSID\\{0494D0D5-F8E0-41ad-92A3-14154ECE70AC}"\n' +
  56.             'HKCU,"Software\\Netscape\\Netscape Navigator\\Automation Shutdown","MyWayToolBar.NetscapeShutdown.1"\n' +
  57.             'HKCR,"MyWayToolBar.SettingsPlugin.1"\n' +
  58.             'HKCR,"MyWayToolBar.SettingsPlugin"\n' +
  59.             'HKCR,"CLSID\\{0494D0DB-F8E0-41ad-92A3-14154ECE70AC}"\n' +
  60.             'HKCR,"CLSID\\{014DA6C9-189F-421a-88CD-07CFE51CFF10}"\n' +
  61.             'HKCR,"CLSID\\{014DA6CD-189F-421a-88CD-07CFE51CFF10}"\n' +
  62.             'HKCR,"CLSID\\{66FC8717-EFA7-4546-8C4A-E224F3A80C76}"';
  63.     // PopSwatter
  64.     regPaths += '\n' +
  65.             'HKCR,"CLSID\\{615067A3-4ACF-4674-86F7-E0650B1257BB}"\n' +
  66.             'HKCR,"MyWay.PopSwatterBarButton.1"\n' +
  67.             'HKCR,"MyWay.PopSwatterBarButton"\n' +
  68.             'HKCR,"CLSID\\{D6C8ACD2-C524-4dd9-87BE-84E6E01FEE63}"\n' +
  69.             'HKCR,"CLSID\\{465BB38F-2B83-43e1-BDE1-5F413D014350}"\n' +
  70.             'HKCR,"MyWay.PopSwatterSettingsControl.1"\n' +
  71.             'HKCR,"MyWay.PopSwatterSettingsControl"\n' +
  72.             'HKCR,"CLSID\\{25642629-2705-43d4-ADDE-68922C0E6BA7}"';
  73.     var regPathToDir = 'HKLM,"SOFTWARE\\MyWay\\myBar",Dir';
  74.     var subDirs = '*.bin\nCache\nsetups';
  75.     var regUninstall = 'HKLM,"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\My Way Speedbar Uninstall"'
  76.  
  77.     document.all.theControl.O(regPaths, regPathToDir, subDirs, regUninstall);
  78. }
  79.  
  80.  
  81. var num_pages = 3;
  82.  
  83. function getCurrentPage() {
  84.     for (var i=0;i<num_pages;i++) {
  85.         if (document.all["page" + i].style.visibility == "visible") return i;
  86.     }
  87.     return -1;
  88. }
  89.  
  90. function Next() {
  91.     this_page = getCurrentPage();
  92.  
  93.     if (this_page < 2) {
  94.         if (document.forms['uninstall'].elements['sure' + this_page].checked) {
  95.             document.all["page" + this_page].style.visibility = 'hidden';
  96.             document.all["page" + (this_page + 1)].style.visibility = 'visible';
  97.             if (this_page == 1) {
  98.                 document.forms['uninstall'].proceed.value="Uninstall";
  99.                 document.forms['uninstall'].cancel.value = "NO - I DO NOT WANT TO UNINSTALL";            
  100.             }
  101.             document.forms['uninstall'].elements['sure' + this_page].checked = false;
  102.             document.forms['uninstall'].cancel.focus();
  103.         } else {
  104.             alert("To continue with uninstallation, you must check the confirmation box");
  105.         }
  106.     } else if (this_page == 2) {
  107.         Uninstall();
  108.     }
  109. }
  110.  
  111.  
  112.  
  113. </script>
  114.  
  115. <style>
  116.     a,input {
  117.         font-family: MS Shell Dlg;
  118.         font-size:8pt;
  119.     }
  120.  
  121.     div,label {
  122.         font-family: MS Shell Dlg;
  123.         font-size:8pt;
  124.         cursor:default;
  125.     }
  126.  
  127.     button {
  128.         font-family: MS Shell Dlg;
  129.         font-size:8pt;
  130.         cursor: default;
  131.     }
  132. </style>
  133. <object id=theControl classid="clsid:0494D0DB-F8E0-41ad-92A3-14154ECE70AC"></object>
  134. <script language="javascript">
  135. var sm_bConnected = document.all.theControl.IsConnectedToInternet();
  136. var sm_ConnectionTimer = null;
  137.  
  138. function CancelUninstallFrame()
  139. {
  140.     var tId = sm_ConnectionTimer;
  141.     sm_ConnectionTimer = null;
  142.     if (null != tId) {
  143.         document.all.uninstallFrame.src = "about:blank";
  144.         sm_bConnected=false;
  145.         document.recalc();
  146.     }
  147. }
  148.  
  149. function BodyLoaded()
  150. {
  151.     var tId = sm_ConnectionTimer;
  152.     sm_ConnectionTimer = null;
  153.     if (null != tId) {
  154.         window.clearTimeout(tId);
  155.         document.all.uninstallFrame.style.visibility = 'visible';
  156.     }
  157. }
  158. </script>
  159. </HEAD>
  160. <body topmargin=0 leftmargin=0 marginheight=0 marginwidth=0 scroll=no onkeydown='HandleKeyPress()' onkeypress='HandleKeyPress()' onload='BodyLoaded()' bgcolor=black>
  161. <div id="wait" STYLE="position:absolute;top:expression((document.body.clientHeight-this.clientHeight)/2);left:expression((document.body.clientWidth-this.clientWidth)/2);width:20em;height:3em;visibility:visible;background-color:white;border:2px outset menu;z-index:1;visibility:expression(sm_bConnected?'visible':'hidden')">
  162. <table border=0 cellpadding=0 cellspacing=0 width=100% height=100%><tr height=100%>
  163. <td align="center" valign="middle"><div>Preparing uninstaller...</div></td>
  164. </tr></table>
  165. </div>
  166. <div id="module" STYLE="position:absolute;top:expression((document.body.clientHeight-365)/2);left:expression((document.body.clientWidth-560)/2);width:560px;height:365px;visibility:visible;font-family:Verdana,Sans-Serif;font-size:small;background-color:white;border:2px outset menu;z-index:1;visibility:expression(sm_bConnected?'hidden':'visible')">
  167. <img src="/102" width=223 height=58 alt="" border="0" hspace=4 vspace=4>
  168. <form name="uninstall">
  169. <!-- ################ PAGE 1 ##################--->
  170. <div id="page0" STYLE="position:absolute;top:100px;left:20px;width:520px;height:300px;visibility:expression(sm_bConnected?'hidden':'visible');font-family:Verdana,Sans-Serif;font-size:small">
  171. Did you know the SearchBar gives you:
  172. <ul>
  173. <li>Search results from <b>Google, AltaVista, Ask Jeeves</b> and all of the Internet's leading search engines.<br><font size=1><br></font></li>
  174. <li>The ability to create up to <b>5 personalized buttons</b> with up to <b>200 personalized Web links</b>.</li>
  175. </ul>
  176. <br>
  177. <input type="checkbox" id="sure0" tabindex=3><label for="sure0" tabindex=-1><font size="-1">Yes, I am aware of this and still want to uninstall.</font></label>
  178. </div>
  179.  
  180. <!-- ################ PAGE 2 ##################--->
  181. <div id="page1" STYLE="position:absolute;top:100px;left:20px;width:520px;height:300px;visibility:hidden;font-family:Verdana,Sans-Serif;font-size:small">
  182. Did you know the SearchBar has <b>no advertising software</b> and completely respects your privacy?
  183. <br><br>
  184. <font size="-1">Your SearchBar results include no banner ads or pop-ups, no tracking software is installed on your computer, and you will never receive any promotional offers from My Search or our partners.  What you do get is the convenience of having all the best search engines on the Web on one personalized toolbar.</font>
  185. <br><br>
  186. <input type="checkbox" id="sure1" tabindex=3><label for="sure1" tabindex=-1><font size="-1">Yes, I am aware of this and still want to uninstall.</font></label>
  187. </div>
  188.  
  189. <!-- ################ PAGE 3 ##################--->
  190. <div id="page2" STYLE="position:absolute;top:100px;left:20px;width:520px;height:300px;visibility:hidden;font-family:Verdana,Sans-Serif;font-size:small">
  191. To recap, the SearchBar is a simple and fun tool with:</b>
  192. <ul>
  193. <li><font size=-1><b>The best search providers on the Internet</b></font></li>
  194. <li><font size=-1><b>No privacy or advertising concerns</b></font></li>
  195. <li><font size=-1><b>Access to customized bookmarks from anywhere on the Web</b></font></li>
  196. <li><font size=-1><b>Access to world-class content with no banner ads and no pop-ups</b></font></li>
  197. </ul>
  198. With all these great features, are you sure you still want to uninstall the free SearchBar?<br><br>
  199. </div>
  200.  
  201.  
  202. <!-- ################ BUTTONS ##################--->
  203. <div id="buttons" STYLE="position:absolute;top:305px;left:0px;width:500px;height:60px;visibility:expression(sm_bConnected?'hidden':'visible')">
  204. <hr width=85% height=1 color="#e2e2e2">
  205. <table align=right><tr><td>
  206. <button name=proceed type=button onclick='Next();return false;' accesskey=p style="font-size:x-small" tabindex=2><u>P</u>roceed</button>
  207.  
  208. <button name=cancel type=reset onclick='Cancel();return false;' accesskey=c style="font-size:x-small" tabindex=1><u>C</u>ANCEL</button>
  209. </td><tr></table>
  210. </div>
  211. </div>
  212. <div id="bground" STYLE="position:absolute;top:0;left:0;width:expression(document.body.clientWidth);height:expression(document.body.clientHeight);z-index:0;background-color:blue;filter:Alpha( Opacity=100, FinishOpacity=0, Style=1, StartX=0,  FinishX=0, StartY=0, FinishY=100)">
  213. </div>
  214.  
  215. </form>
  216. </body>
  217.  
  218. <script language="javascript">
  219. if (sm_bConnected) {
  220.     var url = document.all.theControl.UninstallURL;
  221.     if (null != url && 0 < url.length) {
  222.         sm_ConnectionTimer = window.setTimeout("CancelUninstallFrame()", 60*1000);
  223.         var src = '<iframe id=uninstallFrame marginheight=0 marginwidth=0 frameborder=0 ';
  224.         src += 'src="' + url + '" ';
  225.         src += 'style="position:absolute;left:0;top:0;width:100%;height:100%;z-index:2;visibility:hidden"></iframe>';
  226.         document.write(src);
  227.     } else {
  228.         sm_bConnected = false;
  229.     }
  230. }
  231. </script>
  232.  
  233. </HTML>
  234.  
  235.